define(["jquery","template","bld/template/classify/classifyList.tpl"], function($,template,tpl) {
    var ui = {};

    var drawSchemeClass = function(data) {
        return template("classifyList_schemeClass", data);
    }
    var drawAdd = function(data) {
        return template("classifyList_add", data);
    }
    ui.schemeClass = function(options) {
        $("#" + options.id).html(tpl.schemeClass());
        var h = drawSchemeClass(options);
        $("#" + options.id).html(h);
    }
    ui.add = function(options) {
        options.dom.html(tpl.add());
        var h = drawAdd(options);
        options.dom.html(h);
    }

    return ui;
});